package com.eduhzy.ttw.commonsdk.entity;

import android.os.Parcel;
import android.os.Parcelable;

public class MineInfo implements Parcelable {

    /**
     * birthday :
     * currentScore : 0
     * gender : 1
     * cityCode :
     * internalUserName : 18975875505
     * groupId : 288656
     * type : 2
     * loginNum : 26
     * userCode : 034026600000000143
     * userLevel : 注册会员
     * cityName :
     * currentCardCoupons : 0
     * id : 340266
     * userNickName : 1
     * groupFlag : 2
     * countyName :
     * nickName : 球球
     * provinceCode : 430000
     * mobile : 18975875505
     * userName : 18975875505
     * certification : 1
     * realName : 1
     * countyCode :
     * groupName : 默认学校
     * baseNo : 100104
     * currentCurrency : 0
     * idcard :
     * provinceName : 湖南省
     */

    private String birthday;
    private int currentScore;
    private int gender;
    private String cityCode;
    private String internalUserName;
    private String groupId;
    private String type;
    private String loginNum;
    private String userCode;
    private String userLevel;
    private String cityName;
    private int currentCardCoupons;
    private String id;
    private String userNickName;
    private int groupFlag;
    private String countyName;
    private String nickName;
    private String provinceCode;
    private String mobile;
    private String userName;
    private int certification;
    private String realName;
    private String countyCode;
    private String groupName;
    private String baseNo;
    private int currentCurrency;
    private String idcard;
    private String provinceName;
    private String tempAvatar;
    private boolean hasClazz;
    private boolean hasSchool;

    public boolean isHasClazz() {
        return hasClazz;
    }

    public void setHasClazz(boolean hasClazz) {
        this.hasClazz = hasClazz;
    }

    public boolean isHasSchool() {
        return hasSchool;
    }

    public void setHasSchool(boolean hasSchool) {
        this.hasSchool = hasSchool;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public int getCurrentScore() {
        return currentScore;
    }

    public void setCurrentScore(int currentScore) {
        this.currentScore = currentScore;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getInternalUserName() {
        return internalUserName;
    }

    public void setInternalUserName(String internalUserName) {
        this.internalUserName = internalUserName;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLoginNum() {
        return loginNum;
    }

    public void setLoginNum(String loginNum) {
        this.loginNum = loginNum;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(String userLevel) {
        this.userLevel = userLevel;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public int getCurrentCardCoupons() {
        return currentCardCoupons;
    }

    public void setCurrentCardCoupons(int currentCardCoupons) {
        this.currentCardCoupons = currentCardCoupons;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public int getGroupFlag() {
        return groupFlag;
    }

    public void setGroupFlag(int groupFlag) {
        this.groupFlag = groupFlag;
    }

    public String getCountyName() {
        return countyName;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public int getCertification() {
        return certification;
    }

    public void setCertification(int certification) {
        this.certification = certification;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCountyCode() {
        return countyCode;
    }

    public void setCountyCode(String countyCode) {
        this.countyCode = countyCode;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getBaseNo() {
        return baseNo;
    }

    public void setBaseNo(String baseNo) {
        this.baseNo = baseNo;
    }

    public int getCurrentCurrency() {
        return currentCurrency;
    }

    public void setCurrentCurrency(int currentCurrency) {
        this.currentCurrency = currentCurrency;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getTempAvatar() {
        return tempAvatar;
    }

    public void setTempAvatar(String tempAvatar) {
        this.tempAvatar = tempAvatar;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.birthday);
        dest.writeInt(this.currentScore);
        dest.writeInt(this.gender);
        dest.writeString(this.cityCode);
        dest.writeString(this.internalUserName);
        dest.writeString(this.groupId);
        dest.writeString(this.type);
        dest.writeString(this.loginNum);
        dest.writeString(this.userCode);
        dest.writeString(this.userLevel);
        dest.writeString(this.cityName);
        dest.writeInt(this.currentCardCoupons);
        dest.writeString(this.id);
        dest.writeString(this.userNickName);
        dest.writeInt(this.groupFlag);
        dest.writeString(this.countyName);
        dest.writeString(this.nickName);
        dest.writeString(this.provinceCode);
        dest.writeString(this.mobile);
        dest.writeString(this.userName);
        dest.writeInt(this.certification);
        dest.writeString(this.realName);
        dest.writeString(this.countyCode);
        dest.writeString(this.groupName);
        dest.writeString(this.baseNo);
        dest.writeInt(this.currentCurrency);
        dest.writeString(this.idcard);
        dest.writeString(this.provinceName);
        dest.writeString(this.tempAvatar);
    }

    public MineInfo() {
    }

    protected MineInfo(Parcel in) {
        this.birthday = in.readString();
        this.currentScore = in.readInt();
        this.gender = in.readInt();
        this.cityCode = in.readString();
        this.internalUserName = in.readString();
        this.groupId = in.readString();
        this.type = in.readString();
        this.loginNum = in.readString();
        this.userCode = in.readString();
        this.userLevel = in.readString();
        this.cityName = in.readString();
        this.currentCardCoupons = in.readInt();
        this.id = in.readString();
        this.userNickName = in.readString();
        this.groupFlag = in.readInt();
        this.countyName = in.readString();
        this.nickName = in.readString();
        this.provinceCode = in.readString();
        this.mobile = in.readString();
        this.userName = in.readString();
        this.certification = in.readInt();
        this.realName = in.readString();
        this.countyCode = in.readString();
        this.groupName = in.readString();
        this.baseNo = in.readString();
        this.currentCurrency = in.readInt();
        this.idcard = in.readString();
        this.provinceName = in.readString();
        this.tempAvatar = in.readString();
    }

    public static final Creator<MineInfo> CREATOR = new Creator<MineInfo>() {
        @Override
        public MineInfo createFromParcel(Parcel source) {
            return new MineInfo(source);
        }

        @Override
        public MineInfo[] newArray(int size) {
            return new MineInfo[size];
        }
    };
}
